package com.ct.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ct.system.orm.AdminSystemUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 平系统表 Mapper 接口
 * </p>
 *
 * @author Auto Generator
 * @since 2023-08-15
 */
public interface AdminSystemUserMapper extends BaseMapper<AdminSystemUser> {

    /**
     * 统计系统部门的用户数量
     * @param systemId
     * @return
     */
    List<Map<String,String>> countByDepartmentId(@Param("systemId") Long systemId);

}
